﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Cci;
using System.Diagnostics;

namespace Mutator
{
    class MyPlatformType:Microsoft.Cci.PlatformType
    {
        public MyPlatformType(IMetadataHost host) : base(host) { }
       
        /// <summary>
        /// System.Exception
        /// </summary>
        public INamespaceTypeReference SystemException
        {
            
            get
            {
                if (this.systemException == null)
                {
                    this.systemException = this.CreateReference(this.CoreAssemblyRef, "System", "Exception");
                }
                return this.systemException;
                
            }
        }
        INamespaceTypeReference/*?*/ systemException;

        /// <summary>
        /// System.Console
        /// </summary>
        public INamespaceTypeReference SystemConsole
        {

            get
            {
                if (this.systemConsole == null)
                {
                    this.systemConsole = this.CreateReference(this.CoreAssemblyRef, "System", "Console");
                }
                return this.systemConsole;

            }
        }
        INamespaceTypeReference/*?*/ systemConsole;


        /// <summary>
        /// System.Console
        /// </summary>
        public INamespaceTypeReference SystemIOWriter
        {

            get
            {
                if (this.systemIOWriter == null)
                {
                    this.systemIOWriter = this.CreateReference(this.CoreAssemblyRef, "System", "IO", "StreamWriter");
                }
                return this.systemIOWriter;

            }
        }
        INamespaceTypeReference/*?*/ systemIOWriter;


        /// <summary>
        /// System.Collections.Generic.HashSet
        /// </summary>
        public INamespaceTypeReference SystemCollectionsGenericHashSet
        {
            [DebuggerNonUserCode]
            get
            {
                if (this.systemCollectionsGenericHashSet == null)
                {

                    this.systemCollectionsGenericHashSet = this.CreateReference(this.CoreAssemblyRef, 1, "System", "Collections", "Generic", "HashSet");
                }
                return this.systemCollectionsGenericHashSet;
            }
        }
        INamespaceTypeReference/*?*/ systemCollectionsGenericHashSet;
    }
}
